function loadRegisterInfo(id)
{
    

var xmlhttp;
if (window.XMLHttpRequest)
  {
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
       document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
    }
  }
  
  if(id=="faculty")
     {
       rpage="../faculty/registration/faculty_registration.html";
       }
  else if(id=="student")
      {
       rpage="../student/registration/student_registration.html";
      }
      xmlhttp.open("POST",rpage,true);
xmlhttp.send();
}

